﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace FlyHorse.LIMS.WinApp.SystemManageForms.SemiTestItemSetForm
{
    public partial class SemiTestItemSetMainForm : DevExpress.XtraEditors.XtraForm
    {
       // BLL.BaseInformationBll baseInforBll = new BLL.BaseInformationBll();
        public SemiTestItemSetMainForm()
        {
            InitializeComponent();
        }

        private void SemiTestItemSetMainForm_Load(object sender, EventArgs e)
        {
            InitGrid();
        }

        private void InitGrid()
        {
            //var inforList = baseInforBll.LoadEntities(m => m.BaseInformationKey == "SemiTestItem").ToList();
            //this.gridControl1.DataSource = inforList;
        }

        private void barLargeButtonItem_add_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            SemiTestItemSetDetailForm form = new SemiTestItemSetDetailForm(InitGrid);
            form.Show();
        }

        private void barLargeButtonItem_Delete_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {

        }

        
    }
}